Trilium can import ENEX files, which are used by Evernote for backup/export. One ENEX file represents the content (notes and resources) of one notebook.

Import process

The first step is to export the data from Evernote:

Once you have your ENEX files, do the following to import them in Trilium:

  1. In the Note Tree, right click and select Import into note.
  2. In the Import from section, select Evernote.
  3. During the import, you will see "Import in progress" message. If the import is successful, the message will change to “Import finished successfully” and then disappear.
  4. We recommend you to check the imported notes and their attachments to verify that you haven’t lost any data.

Supported features

The following features are preserved by Trilium during the import process:

Limitations

Links to other notes

Since v0.104.0, the ENEX importer tries to recreate links to other notes automatically by converting their Evernote-specific URLs to Trilium's  Internal (reference) links.

Since the ENEX format does not provide the unique ID of notes, the note references are determined via their note title.

Limitations:

Post-processing notes

If you want to restore the internal links in Trilium after you import all of your ENEX files, you can use or adapt this custom script:  Process internal links by title

The script does the following:

  1. It finds all Evernote internal links.
  2. For each one, it checks if its link text matches a note title, and if yes, it replaces the Evernote link with an internal Trilium link. If not, it leaves the Evernote link in place.
  3. If it finds more than one note with a matching note title, it leaves the Evernote link in place.
  4. It outputs the results in a log that you can see in the respective code note in Trilium.

The script has the following limitations:

Reporting issues

When importing your Evernote notebooks, you might find issues in how a note is imported; in that case consider reporting it.

When reporting such an issue make sure to provide the following information: